
DESTDIR = ../../bin
QT += xml sql

build_all:!build_pass {
    CONFIG -= build_all
    CONFIG += debug_and_release
}
#CONFIG += release
INCLUDEPATH += \
    ../lib/sdk \
    ../lib/extension \
    ../lib/shared \
    ../lib/uilib \
    extra

QMAKE_LIBDIR += ../../bin
LIBS += -lDesignerComponents -lDesigner

contains(CONFIG, static) {
    DEFINES += QT_DESIGNER_STATIC
}

TARGET = ScriptDesigner

include(../../shared/fontpanel/fontpanel.pri)
include(../../shared/qttoolbardialog/qttoolbardialog.pri)
include(scripteditor/scripteditor.pri)
include(database/database.pri)
include(storage/storage.pri)
include(projectsettings/settings.pri)

HEADERS += \
    mainwindow.h \
    qdesigner.h \
    designerworkbench.h \
    designer_toolwindow.h \
    designer_settings.h \
    newform.h \
    designer_formwindow.h \
    designer_actions.h \
    project.h

SOURCES += main.cpp \
    mainwindow.cpp \
    qdesigner.cpp \
    designerworkbench.cpp \
    designer_toolwindow.cpp \
    designer_settings.cpp \
    newform.cpp \
    designer_formwindow.cpp \
    designer_actions.cpp \
    project.cpp


win32 {
   RC_FILE = mydesigner.rc
}


include(../sharedcomponents.pri)


FORMS +=

RESOURCES += \
    mydesigner.qrc








